<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<!DOCTYPE html>
<html>
<head>
<title>角色管理</title>
<%@ include file="/WEB-INF/views/manager/include.inc.jsp"%>
</head>
<body>
<!--top s-->
<c:import url="/public/header?tag=Config" />
<!--top end-->
<div class="m_main">
  <!--left s-->
  <c:import url="/public/left?tag=Config&tag1=Permission" />
  <!--left end-->
  <!--right s-->
  <div class="m_right fl">
	<div class="r_box">
	  <div class="title1"><h3>角色管理</h3></div>
	  <div class="list_tab">
		<table>
		  <thead>
			<tr>
			  <th class="firstw">角色名称</th>
			  <th>描述</th>
			  <th style="width: 15%;"></th>
			</tr>
		  </thead>
		  <tbody>
			<c:forEach var="item" items="${roles }">
			  <tr>
				<td class="firstw">${item.name }</td>
				<td>${item.description }</td>
				<td><a href="${contextPath }/manager/role/update/${item.id }">权限配置</a></td>
			  </tr>
			</c:forEach>
		  </tbody>
		</table>
	  </div>
	</div>
  </div>
  <!--right end-->
</div>
<div class="foot"></div>
</body>
</html>